package com.example.service;

import com.example.entity.Orderinfo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mapper.OrderinfoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderinfoService extends ServiceImpl<OrderinfoMapper, Orderinfo> {

    @Resource
    private OrderinfoMapper orderinfoMapper;

    public Orderinfo showByPhone(String phone){
        return orderinfoMapper.showByPhone(phone);
    }

}
